import { Injectable, NestMiddleware } from '@nestjs/common';
import { Request, Response } from 'express';

@Injectable()
export class SignMiddleware implements NestMiddleware {
  use(req: Request, res: Response, next: () => void) {
    // const { method, path, headers, body, query, params, originalUrl, baseUrl } = req;
    // // console.log(method, body, query);
    // // get 请求加密query参数
    // if (method === 'GET') {

    // }
    next();
  }
}
